package com.douxg.fastCoding.web.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.douxg.fastCoding.web.dto.EnjoyDto;
import com.douxg.fastCoding.web.entity.Enjoy;

import java.util.List;

/**
 * @Description
 * @Auther
 * @Date 2020-07-31 15:06
 */
public interface EnjoyMapper extends BaseMapper<Enjoy> {

    String ID = "id";
    String NAME = "name";
    String FUNCTION_NAME = "function_name";
    String GROUP_NAME = "group_name";
    String CONTENT = "content";
    String STATUS = "status";
    String CREATE_TIME = "create_time";
    String UPDATE_TIME = "update_time";

    List<Enjoy> selectFunctionTypes();

    List<String> groups(EnjoyDto enjoyDto);
}
